<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>MyList</title>
    <link rel="StyleSheet" href="../css/account.css" type="text/css" media="screen" />
    <link rel="StyleSheet" href="../css/common.css" type="text/css" media="screen" />
    <script src="/js/58cb2985af.js"></script>
<!--    <script src="https://kit.fontawesome.com/58cb2985af.js" crossorigin="anonymous"></script>-->
    <script src="/js/jquery-3.6.0.min.js"></script>
</head>
<body>
    <div th:if="${!#lists.isEmpty(session.myList)}">
        <p>Pet Favorites <br />
            Shop for more of your favorite pets here.</p>
        <ul>
            <li th:each="product : ${session.myList}">
                <a th:href="@{/productForm(productId=${product.productId})}" th:text="${product.name}">Product Name</a>
                (<span th:text="${product.productId}">Product ID</span>)
            </li>
        </ul>
    </div>
</body>
</html>